package io.stream;

import framework.AbstractTest;
import utils.Log;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;

/**
 * Created by shane on 2018/5/21.
 */
public class ChangeSystemOut extends AbstractTest {

    @Override
    public void test(String[] args) {
        super.test(args);

        try {
            PrintWriter out = new PrintWriter(System.out, true);
            out.println("Hello, world");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Override
    protected String getTag() {
        return TAG;
    }
}
